#ifndef __CGAMEOBJECT_H__
#define __CGAMEOBJECT_H__

#include <vector>
#include <d3dx9.h>
#include "Sprite.h"
#include "Sound.h"

using namespace std;

class CGameOject
{
protected:
	D3DXVECTOR3 position_;
	D3DXVECTOR3 velocity_;

	RECT rectangle_;

	vector <CSprite*> spriteVector_;
	vector <CSound*> soundVector_;
public:
	CGameOject();
	~CGameOject();

	virtual void Render() = 0;
	virtual void Update(DWORD timer) = 0;

	D3DXVECTOR3 getPosition() {
		return this->position_;
	}

};

#endif //=====